package com.shfl.servermanage.logic.service;

import com.github.pagehelper.PageInfo;
import com.shfl.servermanage.logic.bean.SysServerSite;
import com.shfl.servermanage.logic.model.request.AddSiteRequest;
import com.shfl.servermanage.logic.model.request.RemoveByIdRequest;
import com.shfl.servermanage.logic.model.response.ServerSitePageResponse;
import com.shfl.servermanage.logic.model.response.SiteDetailResponse;
import com.shfl.servermanage.pagehelper.Pageable;

import java.util.List;
import java.util.Map;

public interface SysServerSiteService {
    int insertSelective(SysServerSite record);

    PageInfo<ServerSitePageResponse> findPage(Pageable pageable, Map<String, Object> objectMap);

    void add(AddSiteRequest addSiteRequest);

    void remove(RemoveByIdRequest removeByIdRequest);

    SysServerSite selectByPrimaryKey(Long id);

    void detail(SiteDetailResponse siteDetailResponse, Long id);

    List<ServerSitePageResponse> findList(Map<String, Object> objectMap);
}
